package com.example.nextstream.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.nextstream.models.AssetsInfo;

import java.util.List;

public interface AssetsInfoService extends IService<AssetsInfo> {
    Boolean createAssets(AssetsInfo assetsInfo);
    Boolean deleteAssets(Integer assetsId);
    Boolean updateAssets(AssetsInfo assetsInfo);
    AssetsInfo getAssets(Integer id);
    Page<AssetsInfo> listAssetsInfo( int pageNum,int pageSize);
    Integer countAssets();
}
